body {
  /* overflow-x: hidden; */
  min-width: 320px;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 14px;
  /* color: #666; */
  background-color: #fafafc;
  font-family: -apple-system, "Helvetica Neue", sans-serif;
}
.search {
  position: fixed;
  left: 50%;
  top: 5px;
  height: 44px;
  min-width: 320px;
  max-width: 540px;
  width: 100%;
  transform: translateX(-50%);
  /* background-color: pink; */
  display: flex;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.user {
  display: block;
  height: 44px;
  width: 44px;
  text-align: center;
  color: rgb(9, 159, 222);
  font-size: 13px;
}

.search .user::before {
  content: "";
  display: block;
  margin-top: 1px;
  width: 27px;
  height: 23px;
  margin-left: 6px;
  background: url(../images/sprite.png) -56px -194px no-repeat;
  background-size: 104px auto;
}

.search div:nth-child(1) {
  text-indent: 2em;
  margin: 7px 10px;
  line-height: 30px;
  flex: 1;
  border-radius: 7px;
  border: 1px solid #666;
  background-color: #fff;
  box-shadow: #666 0 2px 5px 1px;
}
.search::before {
  position: absolute;
  left: 15px;
  top: 15px;
  content: "";
  display: block;
  width: 27px;
  height: 24px;
  margin-left: 6px;
  background: url(../images/sprite.png) -56px -279px no-repeat;
  background-size: 104px auto;
}
.banner {
  margin-top: 49px;
  /* height: 108px; */
  width: 100%;
  /* overflow: hidden; */
}
.banner img {
  width: 100%;
}
.local-nav {
  height: 66px;
  margin: 5px 3px;
  border-radius: 8px;

  width: 100%;
  background-color: #fff;
}
ul {
  width: 100%;
  height: 66px;
  display: flex;
}
.local-nav ul li {
  flex: 1;
  /* margin-top: 5; */
}
.local-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav {
  width: 33px;
  height: 33px;
  background: url(../images/localnav_bg.png) no-repeat;
  background-size: 33px;
  margin: 5px 0;
}
ul li:nth-child(2) .nav {
  background: url(../images/localnav_bg.png) no-repeat 0px -33px;
  background-size: 33px;
}
ul li:nth-child(3) .nav {
  background: url(../images/localnav_bg.png) no-repeat 0px -66px;
  background-size: 33px;
}
ul li:nth-child(4) .nav {
  background: url(../images/localnav_bg.png) no-repeat 0px -99px;
  background-size: 33px;
}
ul li:nth-child(5) .nav {
  background: url(../images/localnav_bg.png) no-repeat 0px -132px;
  background-size: 33px;
}
.life > div {
  height: 88px;
  display: flex;
}
.life > div ul li {
  flex: 1;
  height: 88px;
  /* background-color: pink; */
  text-align: center;
  flex-direction: column;
  line-height: 44px;
}
.life > div ul li a {
  color: #fff;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
.life > div ul li:nth-child(n + 2) {
  border-left: solid 1px #fff;
  line-height: 44px;
}
.life {
  /* height: 274px; */
  border-radius: 8px;
  overflow: hidden;
}
.life > div:nth-child(2) {
  margin: 5px 0;
}
.life > div ul li:nth-child(n + 2) {
  display: flex;
}
.life > div ul li:nth-child(n + 2) a {
  flex: 1;
}
.life > div ul li:nth-child(n + 2) a:last-child {
  border-top: solid 1px #fff;
}
.life > div ul li:nth-child(1) {
  background: url(../images/hotel.png) no-repeat center bottom;

  background-size: 121px auto;
}
.life > div:nth-child(1) ul {
  height: 88px;
  /* background-color: pink; */
  background-image: linear-gradient(to right, #fa5956, #faac54);
}
.life > div:nth-child(2) ul {
  height: 88px;
  /* background-color: pink; */
  background-image: linear-gradient(to right, #3178d6, #22bdfa);
}
.life > div:nth-child(3) ul {
  height: 88px;
  /* background-color: pink; */
  background-image: linear-gradient(to right, #35c3aa, #42eb5e);
}
.wifi ul {
  display: flex;
  height: 66px;
  text-align: center;
}
.wifi {
  height: 135px;
  border-radius: 8px;
  margin: 5px 3px;
  background-color: #fff;
}
.wifi ul li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wifi ul li a::before {
  width: 24px;
  content: "";
  display: block;
  height: 24px;
}
.wifi ul:first-child li:nth-child(1) a::before {
  width: 24px;
  content: "";
  display: block;
  height: 24px;
  background: url(../images/subnav-bg.png) no-repeat;
  background-size: 24px auto;
}

.wifi ul:first-child li:nth-child(2) a::before {
  background: url(../images/subnav-bg.png) no-repeat 3px -24px;
  background-size: 24px auto;
}
.wifi ul:first-child li:nth-child(3) a::before {
  background: url(../images/subnav-bg.png) no-repeat 2px -54px;
  background-size: 24px auto;
}
.wifi ul:first-child li:nth-child(4) a::before {
  background: url(../images/subnav-bg.png) no-repeat 0 -84px;
  background-size: 24px auto;
}
.wifi ul:first-child li:nth-child(5) a::before {
  background: url(../images/subnav-bg.png) no-repeat 1px -110px;
  background-size: 24px auto;
}
.wifi ul:last-child li:nth-child(1) a::before {
  background: url(../images/subnav-bg.png) no-repeat 5px -139px;
  background-size: 24px auto;
}
.wifi ul:last-child li:nth-child(2) a::before {
  background: url(../images/subnav-bg.png) no-repeat 2px -168px;
  background-size: 24px auto;
}
.wifi ul:last-child li:nth-child(3) a::before {
  background: url(../images/subnav-bg.png) no-repeat 0px -275px;
  background-size: 24px auto;
}
.wifi ul:last-child li:nth-child(4) a::before {
  background: url(../images/subnav-bg.png) no-repeat 0px -196px;
  background-size: 24px auto;
}
.wifi ul:last-child li:nth-child(5) a::before {
  background: url(../images/subnav-bg.png) no-repeat 4px -246px;
  background-size: 24px auto;
}
